<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="fullscreen">
        <div class="scroll_content">
            <div class="topfixed">
                <div class="t_left"><a href="/index.php?m=cyitem" class="goBack"><i class="back"></i></a></div>
                <div class="t_main">{$data.title}</div>
            </div>
            <div style="height: 45px;"></div>
            <div><img src="{$data.imgurl|images_site}" onerror="error_img_url(this,2)" style="width: 100%"></div>
            <ul class="project_faqi_list">
                <li>

                    <div class="p_operate clearfix">
                        <p class="fl line">
                            <a href="/index.php?m=cyitem&a=join&cyid={$data.id}" class="btn red fl">加入</a> <span class="total" onClick="window.location='/index.php?m=cyitem_join&cyid={$data.id}'">{$data.join_num}<br>参与人数</span>
                        </p>

                        <p class="fr" did="{$data.id}" id="btn-love">

                            <i class="fl ico big zan cur"></i> <span class="total"><a class="num">{$data.love_num}</a><br>支持人数</span>
                        </p>
                    </div>
                </li>

            </ul>
            <div class="comblock">
                {$data.endtime|date:Y-m-d} 截止
            </div>
            <div class="comblock">
                <div class="project_jieshao">
                    <h3 class="tit"><span class="inner">项目介绍：</span></h3>

                    <div class="info d-content">{$data.content}
                    </div>
                    <h3 class="tit"><span class="inner">市场分析：</span></h3>

                    <div class="info">{$data.scfx}
                    </div>
                    <h3 class="tit"><span class="inner">运营方式：</span></h3>

                    <div class="info">{$data.yyfs}
                    </div>
                    <h3 class="tit"><span class="inner">合伙人要求：</span></h3>

                    <div class="info">{$data.hhryq}
                    </div>
                    <h3 class="tit"><span class="inner">已有资源和资金要求：</span></h3>

                    <div class="info">{$data.zjyq}
                    </div>
                </div>

            </div>
        </div>
    </div>
    
 <script>
 $(function(){
	 
	
	$("#btn-love").click(function(){
		var obj=$(this); 
		$.get("/index.php?m=love&a=add&ajax=1&tablename=cyitem&object_id="+$(this).attr("did"),function(data){
			if(data.error){
				skyToast(data.message);
			}else{
				$("#btn-love").find(".num").html(parseInt($("#btn-love").find(".num").html())+1);
				skyToast("赞成功");
			}
		},"json")
	});
 });
 </script>
  {include file="footer.html"}     
</body>
</html>
